package com.bjdd.jdy.ui.dealRecord;

import com.bjdd.jdy.base.BaseModel;
import com.bjdd.jdy.base.BasePresenter;
import com.bjdd.jdy.base.BaseResult;
import com.bjdd.jdy.base.BaseView;
import com.bjdd.jdy.entity.DealRecord;
import com.bjdd.jdy.entity.result.AcountResult;

import java.util.List;

import rx.Observable;

/**
 * Created by Administrator on 2017/5/10.
 */

public interface DealRecordContract {
    interface View extends BaseView{
        void acountSuccess(AcountResult data);
    }
    interface Model extends BaseModel{
        Observable<BaseResult<AcountResult>> getAcoount(String token,String carrierId,int page,int size);
    }
    abstract class Presenter extends BasePresenter<Model,View>{
        abstract void getAcount(int page,int size);
    }
}
